package com.job.zhaokaiqiang;

/**
 * @author DELL
 * @version 1.0
 * @since 2022-07-04 13:14:37
 */
public class Maopao {
    public static void paixu(int []shuzu)
    {
        int i,j;
        for(i=0;i<shuzu.length-1;i++)
        {
            for(j=0;j<shuzu.length-i;j++)
            {
                if(shuzu[j]<shuzu[j+1])
                {
                    int temp;
                    temp=shuzu[j];
                    shuzu[j]=shuzu[j+1];
                    shuzu[j+1]=temp;
                }
            }
        }
    }
}
